﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http;

namespace nwrole.SuperModule.service.Controllers
{
    public class TestController : ApiController
    {
        [Route("api/test/echo")]
        public void Echo([FromBody] string msg)
        {
            Console.WriteLine("You said: " + msg);
        }

        [Route("api/test/hello")]
        public void Hello2()
        {
            Console.WriteLine("Hello");
        }
    }
}
